package com.yixun.qfbao.apidto;

import com.yixun.qfbao.annotation.Constants;
import com.yixun.qfbao.annotation.TYWValid;
import com.yixun.qfbao.apidto.base.CommonReqDTO;

import java.io.Serializable;
import java.util.List;

/**
 * @author guifang.weng
 * @create 2017-11-23 9:53
 **/
public class AuthorizeRoleReqDto extends CommonReqDTO implements Serializable {
    private static final long serialVersionUID = -8745293405054863528L;

    @TYWValid(min = 1,max = 20,regModel = Constants.NUMBER)
    private Long roleId;
    private List<String> resourcesList;
    private Long merchantId;

    public List<String> getResourcesList() {
        return resourcesList;
    }

    public void setResourcesList(List<String> resourcesList) {
        this.resourcesList = resourcesList;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

}
